<template>
  <div>
    <h1>登录页面</h1>
    <button @click="AddNUM">NUMber++:{{count}}</button>
  </div>
</template>

<script>
  export default{
    data(){
      return{
        count:0
      }
    },
    methods:{
      AddNUM(){
        this.count++;
      }
    },
    mounted(){
      console.log("大家好")
    }
  }
</script>

<style scoped>

</style>